package com.gitee.wsl.reflect

import kotlin.reflect.KClass

/**
 * Check [this] is instance of [type].
 */
actual fun Any.instanceOf(type: KClass<*>): Boolean = type.isInstance(this)
